package com.ugoodtech.mdcc.web.dto;


import com.ugoodtech.mdcc.core.domain.StationLeanPaintReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright © 2013 All Rights Reserved, Ugood Technology, Inc.
 */
@ApiModel("精益钣喷报告")
public class StationLeanPaintReportResponse {
    @ApiModelProperty("编号")
    private Long reportId;
    @ApiModelProperty("城市")
    private String city;
    @ApiModelProperty("维修站名称")
    private String stationName;
    @ApiModelProperty("最后一次更新时间")
    private String lastUpdateTime;


    public StationLeanPaintReportResponse(StationLeanPaintReport stationLeanPaintReport) {
        this.reportId=stationLeanPaintReport.getId();
        if(null!=stationLeanPaintReport.getStation()){
            this.city=stationLeanPaintReport.getStation().getCity();
            this.stationName=stationLeanPaintReport.getStation().getName();
        }
        this.lastUpdateTime=stationLeanPaintReport.getUpdateTimeStr();
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
